import { PageRO } from '@/api/common';

export interface CommentAddRO {
    contentId?: string;
    parentId?: string;
    comment?: string;
    replyId?: string;
    images?: string;
}

export interface CommentPageRO extends PageRO {
    contentId?: string;
    parentId?: string;
    comment?: string;
    replyId?: string;
    images?: string;
}

export interface CommentEditRO {
    id?: string;
    contentId?: string;
    parentId?: string;
    comment?: string;
    replyId?: string;
    images?: string;
}

export interface CommentVO {
    id?: string;
    contentId?: string;
    parentId?: string;
    comment?: string;
    replyId?: string;
    images?: string;
}

export interface CommentPageVO {
    id: string;
    contentId?: string;
    parentId?: string;
    comment?: string;
    replyId?: string;
    images?: string;
    createUserName?: string;
    replyName?: string;
    avatar?: string;
    sonComment?: CommentPageVO[];
    createUser: string;
    createTime: string;
    kudosNum: number;
    support: boolean;
}
